<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>My Project: M:/移动硬盘/曹健/DX3D完成作业/619/D3DX封装/src/ParticleSystem.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ParticleSystem.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_particle_system_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/********************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    created:    2007/03/26</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">    created:    26:3:2007   9:46</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    filename:   ParticleSystem.h</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    author:     任晓宇</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    </span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    purpose:    定义粒子类和粒子团类。粒子团类聚合粒子类，使用粒子池动态</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">                管理粒子对象的生死。</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    changelog:  2007/04/30  加入Clone函数，以方便生成多个对象。</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">*********************************************************************/</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_particle_emitter_8h.html">ParticleEmitter.h</a>&quot;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_particle_affector_8h.html">ParticleAffector.h</a>&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;tinyxml\tinyxml.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_camera_8h.html">Camera.h</a>&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_particle.html">   24</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_particle.html">Particle</a></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;{</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_particle.html#ae227ffd0f06f6a20b9e794bff4da5132">   28</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle.html#ae227ffd0f06f6a20b9e794bff4da5132">m_fWidth</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_particle.html#a4597ced7128f7930c4d67354102c60b9">   30</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle.html#a4597ced7128f7930c4d67354102c60b9">m_fHeight</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="comment">//粒子尺寸是否有变化</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_particle.html#a7cdc29f2efa523110d54dd01c7413f7c">   32</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_particle.html#a7cdc29f2efa523110d54dd01c7413f7c">m_bOwnDimension</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_particle.html#a421344e2de854eb5aa6c8b8d4a60496d">   34</a></span>&#160;    DWORD <a class="code" href="class_particle.html#a421344e2de854eb5aa6c8b8d4a60496d">m_Color</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_particle.html#a322f0ecad2015c9571a131093735f08a">   36</a></span>&#160;    D3DXVECTOR3     <a class="code" href="class_particle.html#a322f0ecad2015c9571a131093735f08a">m_vPosition</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_particle.html#ae6ad06f2b41e69876a5f1fca55c2dc70">   38</a></span>&#160;    D3DXVECTOR3     <a class="code" href="class_particle.html#ae6ad06f2b41e69876a5f1fca55c2dc70">m_vDirection</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_particle.html#ae0e9624535dd4b57894d98af2911a509">   40</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle.html#ae0e9624535dd4b57894d98af2911a509">m_fTimeToLive</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_particle.html#a79363de7095b90ede1537d8c097c05d5">   42</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle.html#a79363de7095b90ede1537d8c097c05d5">m_fTotalTimeToLive</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_particle.html#acf515bf29551299dfd82775d45f220f1">   45</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle.html#acf515bf29551299dfd82775d45f220f1">m_fRotation</a>;      </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_particle.html#a00361b4e7d5104c91252e55c5c05833c">   47</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle.html#a00361b4e7d5104c91252e55c5c05833c">m_fRotationSpeed</a>; </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <a class="code" href="class_particle.html">Particle</a>();</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordtype">void</span> SetDimension(<span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height);</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;};</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32">   55</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32">BillboardType</a></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;{</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32a7a3c89eb68cc133459bde3c1fbf94641">   58</a></span>&#160;    <a class="code" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32a7a3c89eb68cc133459bde3c1fbf94641">BT_POINT</a>,</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32a112bc9d31ad7157a5e74221a98ea6c71">   60</a></span>&#160;    <a class="code" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32a112bc9d31ad7157a5e74221a98ea6c71">BT_ORIENT_SELF</a>,</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32acaa3e23e976c43f91cf0c93ee199fba6">   62</a></span>&#160;    <a class="code" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32acaa3e23e976c43f91cf0c93ee199fba6">BT_ORIENT_COMMON_DIRECTION</a>,</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32afdc961f039fd32af76ebce834a363128">   64</a></span>&#160;    <a class="code" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32afdc961f039fd32af76ebce834a363128">BT_PERPENDICULAR_COMMON_DIRECTION</a>,</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;};</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5">   69</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5">ParticleCoordinateSystem</a></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;{</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5a8c2afbcb553c270601ce6c95a41e13c9">   72</a></span>&#160;    <a class="code" href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5a8c2afbcb553c270601ce6c95a41e13c9">PCS_WORLD</a>,</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5a8ce5074616bdbd5a0a2586ea02acf626">   74</a></span>&#160;    <a class="code" href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5a8ce5074616bdbd5a0a2586ea02acf626">PCS_LOCAL</a></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;};</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_particle_group.html">   88</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_particle_group.html">ParticleGroup</a></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;{</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="class_particle_group_1_1_particle_vertex.html">   92</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_particle_group_1_1_particle_vertex.html">ParticleVertex</a></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    {</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_particle_group_1_1_particle_vertex.html#a82bbb4d9ea316b50f94d9b7a733e185f">   95</a></span>&#160;        D3DXVECTOR3 <a class="code" href="class_particle_group_1_1_particle_vertex.html#a82bbb4d9ea316b50f94d9b7a733e185f">pos</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="class_particle_group_1_1_particle_vertex.html#a3f7a9034d3120630fed0a7fdf342efcc">   96</a></span>&#160;        DWORD <a class="code" href="class_particle_group_1_1_particle_vertex.html#a3f7a9034d3120630fed0a7fdf342efcc">diffuse</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="class_particle_group_1_1_particle_vertex.html#a1b6ff788b4e24cdcfb9ee2ee25d77274">   97</a></span>&#160;        <span class="keywordtype">float</span> tu, <a class="code" href="class_particle_group_1_1_particle_vertex.html#a1b6ff788b4e24cdcfb9ee2ee25d77274">tv</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keyword">enum</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        {</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_particle_group_1_1_particle_vertex.html#ad4072eec40f269125e096d04d486aaf5a9639aa89c8472c3f84fbb2bbf1753563">  101</a></span>&#160;            FVF_Flags = D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        };</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    };</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_particle_group.html#ab2f10c45cf9af650c2615b3ef66d6996">  105</a></span>&#160;    <span class="keyword">typedef</span> std::vector&lt;Particle*&gt; <a class="code" href="class_particle_group.html#ab2f10c45cf9af650c2615b3ef66d6996">ParticlePool</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_particle_group.html#af19644eb1527f9c484c1ca362a4243c6">  106</a></span>&#160;    <span class="keyword">typedef</span> std::list&lt;Particle*&gt; <a class="code" href="class_particle_group.html#af19644eb1527f9c484c1ca362a4243c6">ParticleActiveList</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="class_particle_group.html#aea64a17fa33ac9f39099b7277a4c473f">  107</a></span>&#160;    <span class="keyword">typedef</span> std::list&lt;Particle*&gt; <a class="code" href="class_particle_group.html#aea64a17fa33ac9f39099b7277a4c473f">ParticleFreeList</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_particle_group.html#aa1f53e6fbcad39e23dd4e12b8225c62d">  113</a></span>&#160;    ParticlePool <a class="code" href="class_particle_group.html#aa1f53e6fbcad39e23dd4e12b8225c62d">m_ParticlePool</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_particle_group.html#a926f2771a35784b37442c53f6f1b3136">  115</a></span>&#160;    ParticleActiveList <a class="code" href="class_particle_group.html#a926f2771a35784b37442c53f6f1b3136">m_ActiveParticles</a>;</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="class_particle_group.html#a19db9a231cfbbc71425f2c466dc56cf3">  117</a></span>&#160;    ParticleFreeList <a class="code" href="class_particle_group.html#a19db9a231cfbbc71425f2c466dc56cf3">m_FreeParticles</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_particle_group.html#af0469b4e3a23ccf32d16d874f6660c7a">  120</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_particle_group.html#af0469b4e3a23ccf32d16d874f6660c7a">m_uiPoolSize</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="class_particle_group.html#ac2b5eb3b5d77e0c7e89c249c066e953b">  122</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_particle_group.html#ac2b5eb3b5d77e0c7e89c249c066e953b">m_uiMaxNumVertices</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="class_particle_group.html#a95d7f7be44a93309cfb76f10c9f658b2">  124</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_particle_group.html#a95d7f7be44a93309cfb76f10c9f658b2">m_uiMaxNumIndices</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_particle_group.html#a1444b6488ecc7aa6359c22db87f36e08">  126</a></span>&#160;    <span class="keyword">typedef</span> std::vector&lt;ParticleEmitter*&gt; <a class="code" href="class_particle_group.html#a1444b6488ecc7aa6359c22db87f36e08">ParticleEmitterVector</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="class_particle_group.html#a1b2fa06b7229e8391367f0854fe0416d">  127</a></span>&#160;    <span class="keyword">typedef</span> std::vector&lt;ParticleAffector*&gt; <a class="code" href="class_particle_group.html#a1b2fa06b7229e8391367f0854fe0416d">ParticleAffectorVector</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="class_particle_group.html#a82d28073b34e26ae414ded95dc075228">  129</a></span>&#160;    ParticleEmitterVector <a class="code" href="class_particle_group.html#a82d28073b34e26ae414ded95dc075228">m_Emitters</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_particle_group.html#a1dc714602eacb7e6294f04507b294f4c">  131</a></span>&#160;    ParticleAffectorVector <a class="code" href="class_particle_group.html#a1dc714602eacb7e6294f04507b294f4c">m_Affectors</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_particle_group.html#a66f942c8eeaf1de33958d9fd006155fc">  134</a></span>&#160;    LPDIRECT3DVERTEXBUFFER9 <a class="code" href="class_particle_group.html#a66f942c8eeaf1de33958d9fd006155fc">m_pVB</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="class_particle_group.html#a79eec4dd500a3f6199ca3d98e72b4840">  136</a></span>&#160;    LPDIRECT3DINDEXBUFFER9 <a class="code" href="class_particle_group.html#a79eec4dd500a3f6199ca3d98e72b4840">m_pIB</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_particle_group.html#a901d8a20615afe141abec35e4a6d076a">  139</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_group.html#a901d8a20615afe141abec35e4a6d076a">m_fDefaultWidth</a>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="class_particle_group.html#a033cbec0128d86aa3ecb78a98e6941ee">  141</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_group.html#a033cbec0128d86aa3ecb78a98e6941ee">m_fDefaultHeight</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="class_particle_group.html#a91fe9638457b9ab6fa11dfe0f16f44b6">  144</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_particle_group.html#a91fe9638457b9ab6fa11dfe0f16f44b6">m_TextureName</a>;</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="class_particle_group.html#afe84abf912910ac2a4dd60455a280d70">  145</a></span>&#160;    LPDIRECT3DTEXTURE9 <a class="code" href="class_particle_group.html#afe84abf912910ac2a4dd60455a280d70">m_pTexture</a>;</div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="class_particle_group.html#a6690539cbfe9b04d037523a30e3ab8b8">  147</a></span>&#160;    <a class="code" href="_utility_8h.html#a03d4311aef65ec9ec9d9eb009dca4689">SceneBlendType</a> <a class="code" href="class_particle_group.html#a6690539cbfe9b04d037523a30e3ab8b8">m_SceneBlendType</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_particle_group.html#a24784148df1f4dc2d20913c129804291">  149</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_particle_group.html#a24784148df1f4dc2d20913c129804291">m_iSide</a>;</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="class_particle_group.html#a647709758dc9dc99aebcf23f7644245d">  150</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_particle_group.html#a647709758dc9dc99aebcf23f7644245d">m_iNumFrame</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="class_particle_group.html#a8e526e2b5d1f1fe386686952d6112da9">  151</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_group.html#a8e526e2b5d1f1fe386686952d6112da9">m_fTexDelta</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_particle_group.html#a6cd41e3bc8658f23fdf47a38ddbcb15c">  152</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_group.html#a6cd41e3bc8658f23fdf47a38ddbcb15c">m_fTexAnimDuration</a>;</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="class_particle_group.html#ada4c34efa802dd56a87c70d8b85eb7e1">  153</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_particle_group.html#ada4c34efa802dd56a87c70d8b85eb7e1">m_bAnimationTexture</a>;</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_particle_group.html#a4ff49a3a2c2109dbd0e7e6a4c7974797">  154</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_particle_group.html#a4ff49a3a2c2109dbd0e7e6a4c7974797">m_bRotationTexture</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="class_particle_group.html#ae38f0a38bc4ee164ca30ee04a06f5f34">  156</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_particle_group.html#ae38f0a38bc4ee164ca30ee04a06f5f34">m_bEnable</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="class_particle_group.html#ae2168678f4f617be05e09cdcf8f3501b">  159</a></span>&#160;    <a class="code" href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32">BillboardType</a> <a class="code" href="class_particle_group.html#ae2168678f4f617be05e09cdcf8f3501b">m_BillboardType</a>;</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="class_particle_group.html#a7100978ddf3ac2d18042d6ad88c00cbe">  161</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#a7100978ddf3ac2d18042d6ad88c00cbe">m_CommonDirection</a>;</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_particle_group.html#a0b0ffcb2d296ca4a3435812ef80ae21d">  163</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#a0b0ffcb2d296ca4a3435812ef80ae21d">m_CommonUp</a>;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="class_particle_group.html#aae39356c838ae6658d2677a654d13621">  166</a></span>&#160;    <a class="code" href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5">ParticleCoordinateSystem</a> <a class="code" href="class_particle_group.html#aae39356c838ae6658d2677a654d13621">m_CoordinateSystem</a>;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_particle_group.html#a71958768f0ae26e44c3dc3eda2621d7b">  168</a></span>&#160;    LPDIRECT3DDEVICE9 <a class="code" href="class_particle_group.html#a71958768f0ae26e44c3dc3eda2621d7b">m_pDevice</a>;</div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="class_particle_group.html#a0d628c4e0d7cf804b534381d1cea0007">  170</a></span>&#160;    <a class="code" href="class_c_camera.html">CCamera</a> *<a class="code" href="class_particle_group.html#a0d628c4e0d7cf804b534381d1cea0007">m_pCamera</a>;</div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="class_particle_group.html#aa254ec8f9b3ee617e995fedc2f373775">  171</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#aa254ec8f9b3ee617e995fedc2f373775">m_vCamDir</a>;</div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="class_particle_group.html#a88dba99948e06525b97e9d697b946114">  172</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#a88dba99948e06525b97e9d697b946114">m_vCamRight</a>;</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="class_particle_group.html#ab56008d9a4572fbd7936c073643042dc">  173</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#ab56008d9a4572fbd7936c073643042dc">m_vCamUp</a>;</div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="class_particle_group.html#a290a036a4640bd4101fed2bf040f75f4">  175</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#a290a036a4640bd4101fed2bf040f75f4">m_vBillboardX</a>;</div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="class_particle_group.html#a4b19e981a97037d4cd163bf329a5577b">  177</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#a4b19e981a97037d4cd163bf329a5577b">m_vBillboardY</a>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="class_particle_group.html#abf0f532e77e40ee6d4e1d0d4b1859647">  179</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#abf0f532e77e40ee6d4e1d0d4b1859647">m_vLeftOff</a>;</div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="class_particle_group.html#a2e40b8e860b253ff2abd5f4514bf19d8">  180</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#a2e40b8e860b253ff2abd5f4514bf19d8">m_vRightOff</a>;</div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="class_particle_group.html#a2c12a007fa60d0e5df10ef10b35d9626">  181</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#a2c12a007fa60d0e5df10ef10b35d9626">m_vTopOff</a>;</div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="class_particle_group.html#a6f45aef7cf7ba3b7208b57b2c4f1d361">  182</a></span>&#160;    D3DXVECTOR3 <a class="code" href="class_particle_group.html#a6f45aef7cf7ba3b7208b57b2c4f1d361">m_vBottomOff</a>;</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="class_particle_group.html#aa5e52d918a3a075096147358166b4d33">  183</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_group.html#aa5e52d918a3a075096147358166b4d33">m_fLeft</a>;</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="class_particle_group.html#ad2b172c8d31009373b64533a9fcd6610">  184</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_group.html#ad2b172c8d31009373b64533a9fcd6610">m_fRight</a>;</div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="class_particle_group.html#a2ad8cba80819b4a82606f7bc91fb4104">  185</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_group.html#a2ad8cba80819b4a82606f7bc91fb4104">m_fTop</a>;</div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="class_particle_group.html#a8fe560771de4d56ff21735d669ad19cf">  186</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_particle_group.html#a8fe560771de4d56ff21735d669ad19cf">m_fBottom</a>;</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="class_particle_group.html#a270e8d3ec6ca14f9c635301b43cd3738">  187</a></span>&#160;    D3DXVECTOR3 m_vOffset[4];</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="class_particle_group.html#ab4b0a0635bbe9221b246f46e9a65c4aa">  190</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_particle_group.html#ab4b0a0635bbe9221b246f46e9a65c4aa">m_b2DParticle</a>;</div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="class_particle_group.html#af0d3a0e11b4dd143f67a94e14efff415">  192</a></span>&#160;    <a class="code" href="class_c_camera.html">CCamera</a> <a class="code" href="class_particle_group.html#af0d3a0e11b4dd143f67a94e14efff415">m_2DCamera</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="class_particle_group.html#a986bdde9ddf81e4aca250a13f28cf145">  193</a></span>&#160;    D3DXMATRIX <a class="code" href="class_particle_group.html#a986bdde9ddf81e4aca250a13f28cf145">matOldView</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="class_particle_group.html#a970051499d3a0512cf458cddbeef3754">  194</a></span>&#160;    D3DXMATRIX <a class="code" href="class_particle_group.html#a970051499d3a0512cf458cddbeef3754">matOldProj</a>;</div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="class_particle_group.html#a83a45e9027edd8c35b8f409334a99b3f">  196</a></span>&#160;    D3DXMATRIX <a class="code" href="class_particle_group.html#a83a45e9027edd8c35b8f409334a99b3f">m_2DTransform</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    <a class="code" href="class_particle_group.html">ParticleGroup</a>();</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_particle_group.html">ParticleGroup</a>();</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keywordtype">void</span> SetPoolSize( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uiPoolSize );</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    <a class="code" href="class_particle.html">Particle</a> *CreateParticle();</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    ParticleActiveList::iterator DeleteParticle( ParticleActiveList::iterator &amp;i );</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordtype">void</span> ClearParticle();</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    UINT GetNumParticles();</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <a class="code" href="class_particle_emitter.html">ParticleEmitter</a> *CreateEmitter( <span class="keywordtype">string</span> &amp;name );</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    <span class="keywordtype">void</span> AddEmitter( <a class="code" href="class_particle_emitter.html">ParticleEmitter</a> *pe );</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <a class="code" href="class_particle_affector.html">ParticleAffector</a> *CreateAffector( <span class="keywordtype">string</span> &amp;name );</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    <span class="keywordtype">void</span> AddAffector( <a class="code" href="class_particle_affector.html">ParticleAffector</a> *pa );</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    <span class="keywordtype">void</span> SetTexAnimDuration( <span class="keywordtype">float</span> fDuration );</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <span class="keywordtype">void</span> SetSceneBlendType( <a class="code" href="_utility_8h.html#a03d4311aef65ec9ec9d9eb009dca4689">SceneBlendType</a> sbt );</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keywordtype">void</span> SetEnable( <span class="keywordtype">bool</span> bEnable );</div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="class_particle_group.html#a82d585b802a104654f882316f4edacaa">  241</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_particle_group.html#a82d585b802a104654f882316f4edacaa">GetEnable</a>() { <span class="keywordflow">return</span> m_bEnable; };</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <span class="keywordtype">void</span> SetTexture( LPSTR pName );</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <span class="keywordtype">void</span> Init( LPDIRECT3DDEVICE9 pDevice );</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordtype">void</span> Update( <span class="keywordtype">float</span> fElapsedTime, <a class="code" href="class_c_camera.html">CCamera</a> &amp;cam );</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="keywordtype">void</span> Render();</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keywordtype">void</span> Clone( <a class="code" href="class_particle_group.html">ParticleGroup</a> *p );</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <span class="keywordtype">bool</span> Load( LPCSTR pName );</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    <span class="keywordtype">bool</span> Save( LPSTR pName );</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <span class="keywordtype">void</span> _CreateBuffers();</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    <span class="keywordtype">void</span> _LiveOrDead( <span class="keywordtype">float</span> fElapsedTime );</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    <span class="keywordtype">void</span> _TriggerAffectors(<span class="keywordtype">float</span> fElapsedTime);</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    <span class="keywordtype">void</span> _ApplyMotion( <span class="keywordtype">float</span> fElapsedTime );</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    <span class="keywordtype">void</span> _TriggerEmitters( <span class="keywordtype">float</span> fElapsedTime );</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    <span class="keywordtype">void</span> _GenBillboardAxis(<a class="code" href="class_particle.html">Particle</a> *p = NULL);</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    <span class="keywordtype">void</span> _GenVertexOffset(<span class="keywordtype">float</span> fWidth, <span class="keywordtype">float</span> fHeight);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <span class="keywordtype">void</span> _FillBuffers();</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;    HRESULT InvalidateDeviceObjects(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    HRESULT RestoreDeviceObjects(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;};</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;</div>
<div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="_particle_system_8h.html#afeda02b415fd9eb998be336f03c95e4e">  301</a></span>&#160;<span class="keyword">typedef</span> map&lt;string, ParticleGroup*&gt; <a class="code" href="_particle_system_8h.html#afeda02b415fd9eb998be336f03c95e4e">ParticleGroupMap</a>;</div>
<div class="ttc" id="class_particle_group_html_a6cd41e3bc8658f23fdf47a38ddbcb15c"><div class="ttname"><a href="class_particle_group.html#a6cd41e3bc8658f23fdf47a38ddbcb15c">ParticleGroup::m_fTexAnimDuration</a></div><div class="ttdeci">float m_fTexAnimDuration</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:152</div></div>
<div class="ttc" id="class_particle_group_html_a0b0ffcb2d296ca4a3435812ef80ae21d"><div class="ttname"><a href="class_particle_group.html#a0b0ffcb2d296ca4a3435812ef80ae21d">ParticleGroup::m_CommonUp</a></div><div class="ttdeci">D3DXVECTOR3 m_CommonUp</div><div class="ttdoc">当m_BillboardType为BT_PERPENDICULAR_COMMON_DIRECTION时，此向量和m_CommonDirection决定粒子的x, y轴 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:163</div></div>
<div class="ttc" id="class_particle_group_html_a1444b6488ecc7aa6359c22db87f36e08"><div class="ttname"><a href="class_particle_group.html#a1444b6488ecc7aa6359c22db87f36e08">ParticleGroup::ParticleEmitterVector</a></div><div class="ttdeci">std::vector&lt; ParticleEmitter * &gt; ParticleEmitterVector</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:126</div></div>
<div class="ttc" id="class_particle_html_a7cdc29f2efa523110d54dd01c7413f7c"><div class="ttname"><a href="class_particle.html#a7cdc29f2efa523110d54dd01c7413f7c">Particle::m_bOwnDimension</a></div><div class="ttdeci">bool m_bOwnDimension</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:32</div></div>
<div class="ttc" id="class_particle_group_html_aa1f53e6fbcad39e23dd4e12b8225c62d"><div class="ttname"><a href="class_particle_group.html#aa1f53e6fbcad39e23dd4e12b8225c62d">ParticleGroup::m_ParticlePool</a></div><div class="ttdeci">ParticlePool m_ParticlePool</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:113</div></div>
<div class="ttc" id="class_particle_group_html_a970051499d3a0512cf458cddbeef3754"><div class="ttname"><a href="class_particle_group.html#a970051499d3a0512cf458cddbeef3754">ParticleGroup::matOldProj</a></div><div class="ttdeci">D3DXMATRIX matOldProj</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:194</div></div>
<div class="ttc" id="class_particle_group_html_a1dc714602eacb7e6294f04507b294f4c"><div class="ttname"><a href="class_particle_group.html#a1dc714602eacb7e6294f04507b294f4c">ParticleGroup::m_Affectors</a></div><div class="ttdeci">ParticleAffectorVector m_Affectors</div><div class="ttdoc">效果器数组 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:131</div></div>
<div class="ttc" id="class_particle_html_ae6ad06f2b41e69876a5f1fca55c2dc70"><div class="ttname"><a href="class_particle.html#ae6ad06f2b41e69876a5f1fca55c2dc70">Particle::m_vDirection</a></div><div class="ttdeci">D3DXVECTOR3 m_vDirection</div><div class="ttdoc">方向（有长度的方向，包含速度） </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:38</div></div>
<div class="ttc" id="class_particle_group_html_a82d585b802a104654f882316f4edacaa"><div class="ttname"><a href="class_particle_group.html#a82d585b802a104654f882316f4edacaa">ParticleGroup::GetEnable</a></div><div class="ttdeci">bool GetEnable()</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:241</div></div>
<div class="ttc" id="class_particle_group_1_1_particle_vertex_html_a1b6ff788b4e24cdcfb9ee2ee25d77274"><div class="ttname"><a href="class_particle_group_1_1_particle_vertex.html#a1b6ff788b4e24cdcfb9ee2ee25d77274">ParticleGroup::ParticleVertex::tv</a></div><div class="ttdeci">float tv</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:97</div></div>
<div class="ttc" id="_particle_emitter_8h_html"><div class="ttname"><a href="_particle_emitter_8h.html">ParticleEmitter.h</a></div></div>
<div class="ttc" id="_particle_system_8h_html_a3da1acafd9530d01764dafc7716a17d5a8c2afbcb553c270601ce6c95a41e13c9"><div class="ttname"><a href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5a8c2afbcb553c270601ce6c95a41e13c9">PCS_WORLD</a></div><div class="ttdoc">相对世界空间 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:72</div></div>
<div class="ttc" id="class_particle_group_html_a647709758dc9dc99aebcf23f7644245d"><div class="ttname"><a href="class_particle_group.html#a647709758dc9dc99aebcf23f7644245d">ParticleGroup::m_iNumFrame</a></div><div class="ttdeci">int m_iNumFrame</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:150</div></div>
<div class="ttc" id="class_particle_html"><div class="ttname"><a href="class_particle.html">Particle</a></div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:24</div></div>
<div class="ttc" id="class_particle_group_html_aea64a17fa33ac9f39099b7277a4c473f"><div class="ttname"><a href="class_particle_group.html#aea64a17fa33ac9f39099b7277a4c473f">ParticleGroup::ParticleFreeList</a></div><div class="ttdeci">std::list&lt; Particle * &gt; ParticleFreeList</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:107</div></div>
<div class="ttc" id="class_particle_group_html"><div class="ttname"><a href="class_particle_group.html">ParticleGroup</a></div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:88</div></div>
<div class="ttc" id="class_particle_group_html_ada4c34efa802dd56a87c70d8b85eb7e1"><div class="ttname"><a href="class_particle_group.html#ada4c34efa802dd56a87c70d8b85eb7e1">ParticleGroup::m_bAnimationTexture</a></div><div class="ttdeci">bool m_bAnimationTexture</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:153</div></div>
<div class="ttc" id="class_particle_group_html_ab2f10c45cf9af650c2615b3ef66d6996"><div class="ttname"><a href="class_particle_group.html#ab2f10c45cf9af650c2615b3ef66d6996">ParticleGroup::ParticlePool</a></div><div class="ttdeci">std::vector&lt; Particle * &gt; ParticlePool</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:105</div></div>
<div class="ttc" id="class_particle_group_html_a71958768f0ae26e44c3dc3eda2621d7b"><div class="ttname"><a href="class_particle_group.html#a71958768f0ae26e44c3dc3eda2621d7b">ParticleGroup::m_pDevice</a></div><div class="ttdeci">LPDIRECT3DDEVICE9 m_pDevice</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:168</div></div>
<div class="ttc" id="class_particle_group_html_a24784148df1f4dc2d20913c129804291"><div class="ttname"><a href="class_particle_group.html#a24784148df1f4dc2d20913c129804291">ParticleGroup::m_iSide</a></div><div class="ttdeci">int m_iSide</div><div class="ttdoc">纹理动画参数 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:149</div></div>
<div class="ttc" id="class_particle_group_html_a986bdde9ddf81e4aca250a13f28cf145"><div class="ttname"><a href="class_particle_group.html#a986bdde9ddf81e4aca250a13f28cf145">ParticleGroup::matOldView</a></div><div class="ttdeci">D3DXMATRIX matOldView</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:193</div></div>
<div class="ttc" id="class_particle_html_acf515bf29551299dfd82775d45f220f1"><div class="ttname"><a href="class_particle.html#acf515bf29551299dfd82775d45f220f1">Particle::m_fRotation</a></div><div class="ttdeci">float m_fRotation</div><div class="ttdoc">当前的旋转弧度 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:45</div></div>
<div class="ttc" id="class_particle_group_1_1_particle_vertex_html_a82bbb4d9ea316b50f94d9b7a733e185f"><div class="ttname"><a href="class_particle_group_1_1_particle_vertex.html#a82bbb4d9ea316b50f94d9b7a733e185f">ParticleGroup::ParticleVertex::pos</a></div><div class="ttdeci">D3DXVECTOR3 pos</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:95</div></div>
<div class="ttc" id="_particle_system_8h_html_aab6fae4ef433698f35a07e5647d6be32"><div class="ttname"><a href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32">BillboardType</a></div><div class="ttdeci">BillboardType</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:55</div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
<div class="ttc" id="class_c_camera_html"><div class="ttname"><a href="class_c_camera.html">CCamera</a></div><div class="ttdef"><b>Definition:</b> Camera.h:3</div></div>
<div class="ttc" id="class_particle_group_1_1_particle_vertex_html"><div class="ttname"><a href="class_particle_group_1_1_particle_vertex.html">ParticleGroup::ParticleVertex</a></div><div class="ttdoc">粒子顶点 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:92</div></div>
<div class="ttc" id="class_particle_group_html_a83a45e9027edd8c35b8f409334a99b3f"><div class="ttname"><a href="class_particle_group.html#a83a45e9027edd8c35b8f409334a99b3f">ParticleGroup::m_2DTransform</a></div><div class="ttdeci">D3DXMATRIX m_2DTransform</div><div class="ttdoc">当粒子为2D粒子时，需要用户设置此矩阵来控制粒子团方位 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:196</div></div>
<div class="ttc" id="_particle_system_8h_html_aab6fae4ef433698f35a07e5647d6be32acaa3e23e976c43f91cf0c93ee199fba6"><div class="ttname"><a href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32acaa3e23e976c43f91cf0c93ee199fba6">BT_ORIENT_COMMON_DIRECTION</a></div><div class="ttdoc">沿着固定方向（m_CommonDirection），总是沿着固定方向旋转，面向摄像机 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:62</div></div>
<div class="ttc" id="class_particle_group_html_ac2b5eb3b5d77e0c7e89c249c066e953b"><div class="ttname"><a href="class_particle_group.html#ac2b5eb3b5d77e0c7e89c249c066e953b">ParticleGroup::m_uiMaxNumVertices</a></div><div class="ttdeci">unsigned int m_uiMaxNumVertices</div><div class="ttdoc">　最大的顶点数目，如果粒子是Billboard，则此值为m_uiPoolSize*4 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:122</div></div>
<div class="ttc" id="class_particle_group_html_a290a036a4640bd4101fed2bf040f75f4"><div class="ttname"><a href="class_particle_group.html#a290a036a4640bd4101fed2bf040f75f4">ParticleGroup::m_vBillboardX</a></div><div class="ttdeci">D3DXVECTOR3 m_vBillboardX</div><div class="ttdoc">公告板本地坐标系的x轴，在世界坐标系中的方向 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:175</div></div>
<div class="ttc" id="class_particle_group_html_a8fe560771de4d56ff21735d669ad19cf"><div class="ttname"><a href="class_particle_group.html#a8fe560771de4d56ff21735d669ad19cf">ParticleGroup::m_fBottom</a></div><div class="ttdeci">float m_fBottom</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:186</div></div>
<div class="ttc" id="class_particle_group_html_abf0f532e77e40ee6d4e1d0d4b1859647"><div class="ttname"><a href="class_particle_group.html#abf0f532e77e40ee6d4e1d0d4b1859647">ParticleGroup::m_vLeftOff</a></div><div class="ttdeci">D3DXVECTOR3 m_vLeftOff</div><div class="ttdoc">公告板四个边中点的坐标，相对于将世界坐标系原点移到公告板原点的坐标系 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:179</div></div>
<div class="ttc" id="class_particle_group_html_ae2168678f4f617be05e09cdcf8f3501b"><div class="ttname"><a href="class_particle_group.html#ae2168678f4f617be05e09cdcf8f3501b">ParticleGroup::m_BillboardType</a></div><div class="ttdeci">BillboardType m_BillboardType</div><div class="ttdoc">公告板面向摄像机的方式 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:159</div></div>
<div class="ttc" id="_particle_system_8h_html_a3da1acafd9530d01764dafc7716a17d5"><div class="ttname"><a href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5">ParticleCoordinateSystem</a></div><div class="ttdeci">ParticleCoordinateSystem</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:69</div></div>
<div class="ttc" id="class_particle_affector_html"><div class="ttname"><a href="class_particle_affector.html">ParticleAffector</a></div><div class="ttdef"><b>Definition:</b> ParticleAffector.h:24</div></div>
<div class="ttc" id="class_particle_group_html_ad2b172c8d31009373b64533a9fcd6610"><div class="ttname"><a href="class_particle_group.html#ad2b172c8d31009373b64533a9fcd6610">ParticleGroup::m_fRight</a></div><div class="ttdeci">float m_fRight</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:184</div></div>
<div class="ttc" id="class_particle_html_ae227ffd0f06f6a20b9e794bff4da5132"><div class="ttname"><a href="class_particle.html#ae227ffd0f06f6a20b9e794bff4da5132">Particle::m_fWidth</a></div><div class="ttdeci">float m_fWidth</div><div class="ttdoc">宽度 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:28</div></div>
<div class="ttc" id="class_particle_group_html_a1b2fa06b7229e8391367f0854fe0416d"><div class="ttname"><a href="class_particle_group.html#a1b2fa06b7229e8391367f0854fe0416d">ParticleGroup::ParticleAffectorVector</a></div><div class="ttdeci">std::vector&lt; ParticleAffector * &gt; ParticleAffectorVector</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:127</div></div>
<div class="ttc" id="class_particle_group_html_aa5e52d918a3a075096147358166b4d33"><div class="ttname"><a href="class_particle_group.html#aa5e52d918a3a075096147358166b4d33">ParticleGroup::m_fLeft</a></div><div class="ttdeci">float m_fLeft</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:183</div></div>
<div class="ttc" id="class_particle_group_html_a95d7f7be44a93309cfb76f10c9f658b2"><div class="ttname"><a href="class_particle_group.html#a95d7f7be44a93309cfb76f10c9f658b2">ParticleGroup::m_uiMaxNumIndices</a></div><div class="ttdeci">unsigned int m_uiMaxNumIndices</div><div class="ttdoc">　最大的索引数目，如果粒子是Billboard，则此值为m_uiPoolSize*2 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:124</div></div>
<div class="ttc" id="class_particle_group_html_a79eec4dd500a3f6199ca3d98e72b4840"><div class="ttname"><a href="class_particle_group.html#a79eec4dd500a3f6199ca3d98e72b4840">ParticleGroup::m_pIB</a></div><div class="ttdeci">LPDIRECT3DINDEXBUFFER9 m_pIB</div><div class="ttdoc">Index Buffer. </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:136</div></div>
<div class="ttc" id="class_particle_group_1_1_particle_vertex_html_a3f7a9034d3120630fed0a7fdf342efcc"><div class="ttname"><a href="class_particle_group_1_1_particle_vertex.html#a3f7a9034d3120630fed0a7fdf342efcc">ParticleGroup::ParticleVertex::diffuse</a></div><div class="ttdeci">DWORD diffuse</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:96</div></div>
<div class="ttc" id="_utility_8h_html_a03d4311aef65ec9ec9d9eb009dca4689"><div class="ttname"><a href="_utility_8h.html#a03d4311aef65ec9ec9d9eb009dca4689">SceneBlendType</a></div><div class="ttdeci">SceneBlendType</div><div class="ttdef"><b>Definition:</b> Utility.h:40</div></div>
<div class="ttc" id="class_particle_group_html_a4ff49a3a2c2109dbd0e7e6a4c7974797"><div class="ttname"><a href="class_particle_group.html#a4ff49a3a2c2109dbd0e7e6a4c7974797">ParticleGroup::m_bRotationTexture</a></div><div class="ttdeci">bool m_bRotationTexture</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:154</div></div>
<div class="ttc" id="_particle_affector_8h_html"><div class="ttname"><a href="_particle_affector_8h.html">ParticleAffector.h</a></div></div>
<div class="ttc" id="class_particle_group_html_af0d3a0e11b4dd143f67a94e14efff415"><div class="ttname"><a href="class_particle_group.html#af0d3a0e11b4dd143f67a94e14efff415">ParticleGroup::m_2DCamera</a></div><div class="ttdeci">CCamera m_2DCamera</div><div class="ttdoc">用来计算2D粒子属性的摄像机，上摄像机使用平等投影矩阵 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:192</div></div>
<div class="ttc" id="class_particle_group_html_a6f45aef7cf7ba3b7208b57b2c4f1d361"><div class="ttname"><a href="class_particle_group.html#a6f45aef7cf7ba3b7208b57b2c4f1d361">ParticleGroup::m_vBottomOff</a></div><div class="ttdeci">D3DXVECTOR3 m_vBottomOff</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:182</div></div>
<div class="ttc" id="class_particle_group_html_a91fe9638457b9ab6fa11dfe0f16f44b6"><div class="ttname"><a href="class_particle_group.html#a91fe9638457b9ab6fa11dfe0f16f44b6">ParticleGroup::m_TextureName</a></div><div class="ttdeci">string m_TextureName</div><div class="ttdoc">纹理名 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:144</div></div>
<div class="ttc" id="class_particle_group_html_a82d28073b34e26ae414ded95dc075228"><div class="ttname"><a href="class_particle_group.html#a82d28073b34e26ae414ded95dc075228">ParticleGroup::m_Emitters</a></div><div class="ttdeci">ParticleEmitterVector m_Emitters</div><div class="ttdoc">发射器数组 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:129</div></div>
<div class="ttc" id="_particle_system_8h_html_aab6fae4ef433698f35a07e5647d6be32a112bc9d31ad7157a5e74221a98ea6c71"><div class="ttname"><a href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32a112bc9d31ad7157a5e74221a98ea6c71">BT_ORIENT_SELF</a></div><div class="ttdoc">沿着粒子的飞行方向，粒子类的m_vDirection </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:60</div></div>
<div class="ttc" id="_particle_system_8h_html_aab6fae4ef433698f35a07e5647d6be32a7a3c89eb68cc133459bde3c1fbf94641"><div class="ttname"><a href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32a7a3c89eb68cc133459bde3c1fbf94641">BT_POINT</a></div><div class="ttdoc">永远面向摄像机 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:58</div></div>
<div class="ttc" id="class_particle_group_html_ab56008d9a4572fbd7936c073643042dc"><div class="ttname"><a href="class_particle_group.html#ab56008d9a4572fbd7936c073643042dc">ParticleGroup::m_vCamUp</a></div><div class="ttdeci">D3DXVECTOR3 m_vCamUp</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:173</div></div>
<div class="ttc" id="class_particle_group_html_a033cbec0128d86aa3ecb78a98e6941ee"><div class="ttname"><a href="class_particle_group.html#a033cbec0128d86aa3ecb78a98e6941ee">ParticleGroup::m_fDefaultHeight</a></div><div class="ttdeci">float m_fDefaultHeight</div><div class="ttdoc">　粒子的默认高度 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:141</div></div>
<div class="ttc" id="class_particle_group_html_a0d628c4e0d7cf804b534381d1cea0007"><div class="ttname"><a href="class_particle_group.html#a0d628c4e0d7cf804b534381d1cea0007">ParticleGroup::m_pCamera</a></div><div class="ttdeci">CCamera * m_pCamera</div><div class="ttdoc">当前摄像机的指针 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:170</div></div>
<div class="ttc" id="_particle_system_8h_html_a3da1acafd9530d01764dafc7716a17d5a8ce5074616bdbd5a0a2586ea02acf626"><div class="ttname"><a href="_particle_system_8h.html#a3da1acafd9530d01764dafc7716a17d5a8ce5074616bdbd5a0a2586ea02acf626">PCS_LOCAL</a></div><div class="ttdoc">相对本地空间 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:74</div></div>
<div class="ttc" id="class_particle_group_html_a2ad8cba80819b4a82606f7bc91fb4104"><div class="ttname"><a href="class_particle_group.html#a2ad8cba80819b4a82606f7bc91fb4104">ParticleGroup::m_fTop</a></div><div class="ttdeci">float m_fTop</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:185</div></div>
<div class="ttc" id="class_particle_group_html_a7100978ddf3ac2d18042d6ad88c00cbe"><div class="ttname"><a href="class_particle_group.html#a7100978ddf3ac2d18042d6ad88c00cbe">ParticleGroup::m_CommonDirection</a></div><div class="ttdeci">D3DXVECTOR3 m_CommonDirection</div><div class="ttdoc">当m_BillboardType为BT_ORIENT_COMMON_DIRECTION时，此向量为粒子指向的方向。 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:161</div></div>
<div class="ttc" id="class_particle_group_html_a88dba99948e06525b97e9d697b946114"><div class="ttname"><a href="class_particle_group.html#a88dba99948e06525b97e9d697b946114">ParticleGroup::m_vCamRight</a></div><div class="ttdeci">D3DXVECTOR3 m_vCamRight</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:172</div></div>
<div class="ttc" id="class_particle_group_html_ae38f0a38bc4ee164ca30ee04a06f5f34"><div class="ttname"><a href="class_particle_group.html#ae38f0a38bc4ee164ca30ee04a06f5f34">ParticleGroup::m_bEnable</a></div><div class="ttdeci">bool m_bEnable</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:156</div></div>
<div class="ttc" id="class_particle_group_html_a19db9a231cfbbc71425f2c466dc56cf3"><div class="ttname"><a href="class_particle_group.html#a19db9a231cfbbc71425f2c466dc56cf3">ParticleGroup::m_FreeParticles</a></div><div class="ttdeci">ParticleFreeList m_FreeParticles</div><div class="ttdoc">　粒子池中未被使用的粒子对象 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:117</div></div>
<div class="ttc" id="class_particle_html_a00361b4e7d5104c91252e55c5c05833c"><div class="ttname"><a href="class_particle.html#a00361b4e7d5104c91252e55c5c05833c">Particle::m_fRotationSpeed</a></div><div class="ttdeci">float m_fRotationSpeed</div><div class="ttdoc">弧度，旋转的速度 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:47</div></div>
<div class="ttc" id="class_particle_group_html_aa254ec8f9b3ee617e995fedc2f373775"><div class="ttname"><a href="class_particle_group.html#aa254ec8f9b3ee617e995fedc2f373775">ParticleGroup::m_vCamDir</a></div><div class="ttdeci">D3DXVECTOR3 m_vCamDir</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:171</div></div>
<div class="ttc" id="class_particle_group_html_af19644eb1527f9c484c1ca362a4243c6"><div class="ttname"><a href="class_particle_group.html#af19644eb1527f9c484c1ca362a4243c6">ParticleGroup::ParticleActiveList</a></div><div class="ttdeci">std::list&lt; Particle * &gt; ParticleActiveList</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:106</div></div>
<div class="ttc" id="class_particle_group_html_a8e526e2b5d1f1fe386686952d6112da9"><div class="ttname"><a href="class_particle_group.html#a8e526e2b5d1f1fe386686952d6112da9">ParticleGroup::m_fTexDelta</a></div><div class="ttdeci">float m_fTexDelta</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:151</div></div>
<div class="ttc" id="class_particle_html_ae0e9624535dd4b57894d98af2911a509"><div class="ttname"><a href="class_particle.html#ae0e9624535dd4b57894d98af2911a509">Particle::m_fTimeToLive</a></div><div class="ttdeci">float m_fTimeToLive</div><div class="ttdoc">还能存活的时间 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:40</div></div>
<div class="ttc" id="_particle_system_8h_html_afeda02b415fd9eb998be336f03c95e4e"><div class="ttname"><a href="_particle_system_8h.html#afeda02b415fd9eb998be336f03c95e4e">ParticleGroupMap</a></div><div class="ttdeci">map&lt; string, ParticleGroup * &gt; ParticleGroupMap</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:301</div></div>
<div class="ttc" id="class_particle_group_html_a901d8a20615afe141abec35e4a6d076a"><div class="ttname"><a href="class_particle_group.html#a901d8a20615afe141abec35e4a6d076a">ParticleGroup::m_fDefaultWidth</a></div><div class="ttdeci">float m_fDefaultWidth</div><div class="ttdoc">粒子的默认宽度 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:139</div></div>
<div class="ttc" id="class_particle_group_html_a926f2771a35784b37442c53f6f1b3136"><div class="ttname"><a href="class_particle_group.html#a926f2771a35784b37442c53f6f1b3136">ParticleGroup::m_ActiveParticles</a></div><div class="ttdeci">ParticleActiveList m_ActiveParticles</div><div class="ttdoc">　粒子池中已被使用的粒子对象 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:115</div></div>
<div class="ttc" id="class_particle_group_html_a6690539cbfe9b04d037523a30e3ab8b8"><div class="ttname"><a href="class_particle_group.html#a6690539cbfe9b04d037523a30e3ab8b8">ParticleGroup::m_SceneBlendType</a></div><div class="ttdeci">SceneBlendType m_SceneBlendType</div><div class="ttdoc">粒子与场景的混合方式 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:147</div></div>
<div class="ttc" id="class_particle_html_a322f0ecad2015c9571a131093735f08a"><div class="ttname"><a href="class_particle.html#a322f0ecad2015c9571a131093735f08a">Particle::m_vPosition</a></div><div class="ttdeci">D3DXVECTOR3 m_vPosition</div><div class="ttdoc">位置 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:36</div></div>
<div class="ttc" id="class_particle_group_html_a2e40b8e860b253ff2abd5f4514bf19d8"><div class="ttname"><a href="class_particle_group.html#a2e40b8e860b253ff2abd5f4514bf19d8">ParticleGroup::m_vRightOff</a></div><div class="ttdeci">D3DXVECTOR3 m_vRightOff</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:180</div></div>
<div class="ttc" id="class_particle_group_html_a4b19e981a97037d4cd163bf329a5577b"><div class="ttname"><a href="class_particle_group.html#a4b19e981a97037d4cd163bf329a5577b">ParticleGroup::m_vBillboardY</a></div><div class="ttdeci">D3DXVECTOR3 m_vBillboardY</div><div class="ttdoc">公告板本地坐标系的y轴，在世界坐标系中的方向 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:177</div></div>
<div class="ttc" id="_camera_8h_html"><div class="ttname"><a href="_camera_8h.html">Camera.h</a></div></div>
<div class="ttc" id="class_particle_html_a79363de7095b90ede1537d8c097c05d5"><div class="ttname"><a href="class_particle.html#a79363de7095b90ede1537d8c097c05d5">Particle::m_fTotalTimeToLive</a></div><div class="ttdeci">float m_fTotalTimeToLive</div><div class="ttdoc">总共存活的时间 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:42</div></div>
<div class="ttc" id="class_particle_html_a421344e2de854eb5aa6c8b8d4a60496d"><div class="ttname"><a href="class_particle.html#a421344e2de854eb5aa6c8b8d4a60496d">Particle::m_Color</a></div><div class="ttdeci">DWORD m_Color</div><div class="ttdoc">当前颜色（通常指顶点颜色） </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:34</div></div>
<div class="ttc" id="class_particle_group_html_a66f942c8eeaf1de33958d9fd006155fc"><div class="ttname"><a href="class_particle_group.html#a66f942c8eeaf1de33958d9fd006155fc">ParticleGroup::m_pVB</a></div><div class="ttdeci">LPDIRECT3DVERTEXBUFFER9 m_pVB</div><div class="ttdoc">Vertex Buffer. </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:134</div></div>
<div class="ttc" id="_particle_system_8h_html_aab6fae4ef433698f35a07e5647d6be32afdc961f039fd32af76ebce834a363128"><div class="ttname"><a href="_particle_system_8h.html#aab6fae4ef433698f35a07e5647d6be32afdc961f039fd32af76ebce834a363128">BT_PERPENDICULAR_COMMON_DIRECTION</a></div><div class="ttdoc">垂直固定方向（m_CommonDirection），与摄像机无关， 由用户指定的方向m_CommonUp决定 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:64</div></div>
<div class="ttc" id="class_particle_emitter_html"><div class="ttname"><a href="class_particle_emitter.html">ParticleEmitter</a></div><div class="ttdef"><b>Definition:</b> ParticleEmitter.h:24</div></div>
<div class="ttc" id="class_particle_group_html_afe84abf912910ac2a4dd60455a280d70"><div class="ttname"><a href="class_particle_group.html#afe84abf912910ac2a4dd60455a280d70">ParticleGroup::m_pTexture</a></div><div class="ttdeci">LPDIRECT3DTEXTURE9 m_pTexture</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:145</div></div>
<div class="ttc" id="class_particle_group_html_a2c12a007fa60d0e5df10ef10b35d9626"><div class="ttname"><a href="class_particle_group.html#a2c12a007fa60d0e5df10ef10b35d9626">ParticleGroup::m_vTopOff</a></div><div class="ttdeci">D3DXVECTOR3 m_vTopOff</div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:181</div></div>
<div class="ttc" id="class_particle_group_html_aae39356c838ae6658d2677a654d13621"><div class="ttname"><a href="class_particle_group.html#aae39356c838ae6658d2677a654d13621">ParticleGroup::m_CoordinateSystem</a></div><div class="ttdeci">ParticleCoordinateSystem m_CoordinateSystem</div><div class="ttdoc">进行粒子运算的相对坐标系 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:166</div></div>
<div class="ttc" id="class_particle_group_html_af0469b4e3a23ccf32d16d874f6660c7a"><div class="ttname"><a href="class_particle_group.html#af0469b4e3a23ccf32d16d874f6660c7a">ParticleGroup::m_uiPoolSize</a></div><div class="ttdeci">unsigned int m_uiPoolSize</div><div class="ttdoc">　粒子池大小，此粒子团最大可同时存在的粒子数目 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:120</div></div>
<div class="ttc" id="class_particle_group_html_ab4b0a0635bbe9221b246f46e9a65c4aa"><div class="ttname"><a href="class_particle_group.html#ab4b0a0635bbe9221b246f46e9a65c4aa">ParticleGroup::m_b2DParticle</a></div><div class="ttdeci">bool m_b2DParticle</div><div class="ttdoc">是否是2D粒子 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:190</div></div>
<div class="ttc" id="class_particle_html_a4597ced7128f7930c4d67354102c60b9"><div class="ttname"><a href="class_particle.html#a4597ced7128f7930c4d67354102c60b9">Particle::m_fHeight</a></div><div class="ttdeci">float m_fHeight</div><div class="ttdoc">高度 </div><div class="ttdef"><b>Definition:</b> ParticleSystem.h:30</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2018年 七月 1日 星期日 22:10:09 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
